package com.example.financechain.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author yy
 * @since 2023-04-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_transfer")
public class Transfer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 转账id
     */
    @TableId(value = "transfer_id", type = IdType.AUTO)
    private Long transferId;

    /**
     * 转账公司
     */
    private String transferFrom;

    /**
     * 入账公司
     */
    private String transferTo;

    /**
     * 关联的融资、业务订单
     */
    private String transferNum;

    /**
     * 本次交易的上链的交易ID
     */
    private String transferTxid;

    /**
     * 交易订单
     */
    private String transferordernum;

    /**
     * 转账金额
     */
    private Long amount;


}
